python clear() set method